{% extends 'front/front_sign_base.html' %}

{% block title %}
    六月论坛-欢迎加入
{% endblock %}
{% block head %}
    <script type="text/javascript" src="{{ static('front/js/front_signup.js') }}"></script>
{% endblock %}
{% block content_title %}
    欢迎注册
{% endblock %}
{% block content %}
    <div class="form-group">
        <div class="input-group">
            <input type="text" class="form-control" placeholder="手机号码" name="telephone">
            <span class="input-group-btn">
                <button class="btn btn-primary send_category">发送验证码</button>
            </span>
        </div>
    </div>
    <div class="form-group">
        <input type="text" class="form-control" placeholder="短信验证码" name="sms_captcha">
    </div>
    <div class="form-group">
        <input type="text" class="form-control" placeholder="用户名" name="username">
    </div>
    <div class="form-group">
        <input type="password" class="form-control" placeholder="密码" name="password1">
    </div>
    <div class="form-group">
        <input type="password" class="form-control" placeholder="确认密码" name="password2">
    </div>
    <div class="form-group">
        <div class="input-group">
            <input type="text" class="form-control" placeholder="图形验证码" name="img_captcha">
            <span class="input-group-addon captcha_addon">
                <img class="img_captcha" src="{{ url_for('front.create_captcha') }}" alt="">
            </span>
        </div>
    </div>
    <div class="form-group">
        <button class="btn btn-warning btn-block" id="submit-btn">立即注册</button>
    </div>
    <span hidden id="referer_url">{{ return_to }}</span>
    <div id="danger-info" style="color:red;text-align: center;font-size: 2rem"></div>
{% endblock %}
